<template>
<<<<<<< HEAD
	<view class="container">
		
		<view class="intro">本项目已包含uni ui组件，无需import和注册，可直接使用。在代码区键入字母u，即可通过代码助手列出所有可用组件。光标置于组件名称处按F1，即可查看组件文档。</view>
		<text class="intro">详见：</text>
		<uni-link :href="href" :text="href"></uni-link>
		<button @click="tiao_fn">货品入库</button>
		<button @click="hptj_fn()">货品统计</button>
		<button @click="tiao1_fn()">货品入库</button>
		<button @click="tiao2_fn()">货品详情</button>
		<button @click="classify()">货品分类</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				href: 'https://uniapp.dcloud.io/component/README?id=uniui'
			}
		},
		methods: {
		tiao1_fn(){
			uni.navigateTo({
				url:'../Warehousing/Warehousing'
			})
		},
		hptj_fn(){
			uni.navigateTo({
				url:'../hptj/hptj',
				})},
		tiao2_fn(){
			uni.navigateTo({
				url:'../Warehousing/GoodsDetails'
			})
		},
		classify(){
			uni.navigateTo({
				url:'/pages/Classification/allclassify'
			})
		}
		}
	}
// 	<template>
//   <view class="container">
//     <view class="intro"
//       >本项目已包含uni
//       ui组件，无需import和注册，可直接使用。在代码区键入字母u，即可通过代码助手列出所有可用组件。光标置于组件名称处按F1，即可查看组件文档。</view
//     >
//     <text class="intro">详见：</text>
//     <uni-link :href="href" :text="href"></uni-link>
//     <button @click="tiao_fn()">货品入库</button>
//     <button @click="classify()">货品分类</button>
//     <button @click="toruku_fn()">货品出库</button>
//   </view>
// </template>

// <script>
// export default {
//   data() {
//     return {
//       href: "https://uniapp.dcloud.io/component/README?id=uniui",
//     };
//   },
//   methods: {
//     tiao_fn() {
//       uni.navigateTo({
//         url: "../Warehousing/Warehousing",
//       });
//     },
//     classify() {
//       uni.navigateTo({
//         url: "/pages/Classification/allclassify",
//       });
//     },
//     toruku_fn() {
//       console.log("1111");
//       uni.navigateTo({
//         url: "../Chuku/chuangjianchukedan",
//       });
//     },
//   },
// };
// </script>
=======
<<<<<<< HEAD
  <view class="container">
    <view class="intro"
      >本项目已包含uni
      ui组件，无需import和注册，可直接使用。在代码区键入字母u，即可通过代码助手列出所有可用组件。光标置于组件名称处按F1，即可查看组件文档。</view
    >
    <text class="intro">详见：</text>
    <uni-link :href="href" :text="href"></uni-link>
    <button @click="tiao_fn">货品入库</button>
    <button @click="hptj_fn()">货品统计</button>
    <button @click="tiao1_fn()">货品入库</button>
    <button @click="tiao2_fn()">货品详情</button>
    <button @click="classify()">货品分类</button>
    <button @click="tiao3_fn()">货品出库</button>
  </view>
</template>

<script>
export default {
  data() {
    return {
      href: "https://uniapp.dcloud.io/component/README?id=uniui",
    };
  },
  methods: {
    tiao1_fn() {
      uni.navigateTo({
        url: "../Warehousing/Warehousing",
      });
    },
    hptj_fn() {
      uni.navigateTo({
        url: "../hptj/hptj",
      });
    },
    tiao2_fn() {
      uni.navigateTo({
        url: "../Warehousing/GoodsDetails",
      });
    },
    tiao3_fn() {
      uni.navigateTo({
        url: "../Chuku/chuangjianchukedan",
      });
    },
    classify() {
      uni.navigateTo({
        url: "/pages/Classification/allclassify",
      });
    },
  },
};
=======
<<<<<<< HEAD
	<view>
       <!-- <view class="top_title">
        	局部地区ERP
        </view> -->
		<view class="home_main">
			<uni-swiper-dot :dotsStyles="dotsStyles" :info="info" :current="current" field="content" :mode="mode">
				<swiper class="swiper-box" @change="change" :autoplay="autoplay" :interval="interval"
					:duration="duration">
					<swiper-item v-for="(item ,index) in info" :key="index">
						<view class="swiper-item">
							<image :src="item.src" mode=""></image>
						</view>
					</swiper-item>
				</swiper>
			</uni-swiper-dot>
			<view class="home_mid">
				<view class="home_row">
					<view @click="changePage('')" class="home_item">
						<view class="home_item_top">
							<image src="../../static/ruku.png" mode=""></image>
						</view>
						<view class="home_item_bottom">
							货品入库
						</view>
					</view>
					<view @click="changePage('')" class="home_item">
						<view class="home_item_top">
							<image src="../../static/ruku.png" mode=""></image>
						</view>
						<view class="home_item_bottom">
							货品出库
						</view>
					</view>
					<view @click="changePage('stock/manage')" class="home_item">
						<view class="home_item_top">
							<image src="../../static/ks.png" mode=""></image>
						</view>
						<view class="home_item_bottom">
							库存管理
						</view>
					</view>
					<view @click="changePage('Classification/allclassify')" class="home_item">
						<view class="home_item_top">
							<image src="../../static/spfl.png" mode=""></image>
						</view>
						<view class="home_item_bottom">
							货品分类
						</view>
					</view>
				</view>
				<view @click="changePage('')" class="home_item">
					<view class="home_item_top">
						<image src="../../static/member.png" mode=""></image>
					</view>
					<view class="home_item_bottom">
						人员管理
					</view>
				</view>
			</view>
		</view>
	
		
=======

	<view class="container">
		
		<view class="intro">本项目已包含uni ui组件，无需import和注册，可直接使用。在代码区键入字母u，即可通过代码助手列出所有可用组件。光标置于组件名称处按F1，即可查看组件文档。</view>
		<text class="intro">详见：</text>
		<uni-link :href="href" :text="href"></uni-link>
		<button @click="tiao1_fn()">货品入库</button>
		<button @click="tiao2_fn()">货品详情</button>
		<button @click="classify()">货品分类</button>
		<button @click="toruku_fn()">货品出库</button>
		<button @click="rygl_fn()">人员管理</button>
		<button @click="my_fn()">我的</button>

>>>>>>> f0751245c7fe0d7b25b59bf79787534b41c3a79c
	</view>
</template>

<script>
	export default {

		onLoad() {
			// uni.hideTabBar()
			const isShow = uni.getStorageSync('isShow')
			console.log(isShow);
			uni.getSystemInfo({
				success: (res) => {
				

				}
			})

		},

		data() {
			return {
				all_height: "",
				all_width: "",
				dotsStyles: {
					width: 4,
					height: 4,
					bottom: 25,
					selectedBorder: 0,
					border: 0,
					backgroundColor: "white",
					selectedBackgroundColor: "#fff"

				},
				info: [{
					src: '../../static/banner.png'
				}, {
					src: '../../static/index_banner.png'

				}, {
					src: '../../static/index_banner.png',

				}],
				current: 0,
				mode: 'round',
				autoplay: true,
				interval: 2000,
				duration: 500,

			}
		},
		methods: {

			change(e) {
				this.current = e.detail.current;
			},
			changePage(aa) {
				uni.navigateTo({
				 					url: `../../pages/${aa}`
				 					// url: `../../pages/register/register`
				 				})
				console.log("99999")
			// let state=uni.getStorage({
			// 		key: 'state',
			// 		success: function (res) {
			// 			console.log("获取成功。。。。")
			// 			console.log(res.data);
			// 			if(res.data!==undefined){
			// 				uni.navigateTo({
			// 					url: `../../pages/${aa}`
			// 					// url: `../../pages/register/register`
			// 				})
			// 			} 
			// 		},
			// 		fail:function(res){
			// 			uni.navigateTo({
			// 				url: `../../pages/register/register`
			// 			})
			// 		}
					
			// 	});
					
				
			
			},
		
			close() {
				uni.navigateBack()
			},
			


		},
<<<<<<< HEAD
	}
</script>

<style lang="less" scoped>
	
	.ping{
		width: 300px;
		height: 1000px;
		background-color: rgba(0 , 0 , 0 , 0.6);
		border:2px solid red;
		position: fixed;
		z-index: 999;
		top: 0px;
		left: 0px;
		display: none;
	}
	
	page {
		background: transparent;
	}
	
	.mask {
		position: fixed;
		left: 0;
		top: 0;
		right: 0;
		bottom: 0;
		/* #ifndef APP-NVUE */
		display: flex;
		/* #endif */
		justify-content: center;
		align-items: center;
		background-color: rgba(0, 0, 0, 0.4);
	}
	
	.home_item_bottom {
		font-size: 10px;
		font-weight: 600;
		
	}

	.home_item_top>image {
		height: 40px;
		width: 40px;
	}

	.home_item {
		heigh: 80px;
		margin-bottom: 20px;
	}

	.home_row {
		display: flex;
		justify-content: space-between;
	}

	.home_mid {
		margin: 10px;
	}

	.home_main {
		margin: 0 10px;
		background-color: ;
	}

	swiper {
		width: 100%;
		height: 170px;
		text-align: center;

		swiper-item {
			text-align: center;

			image {
				width: 100%;
				height: 170px;
				display: block;
			}
		}
	}

	.top_title {
		color: lightgrey;
		height: 80px;
		line-height: 80px;
		font-size: 20px;
		font-weight: 400;
		color: black;
		text-align: center;
	}
=======
		classify(){
			uni.navigateTo({

				url:'/pages/Classification/allclassify',

			})
		},
		toruku_fn(){
			uni.navigateTo({
				url: '../Chuku/chuangjianchukedan'
			})
		},
		rygl_fn(){
			uni.navigateTo({
				url: '/pages/gao/gao'
			})
		},
		my_fn(){
			uni.navigateTo({
				url:'../my/my'
			})
		}
		}
	}
>>>>>>> a3859b4b38dc4088fbd91ce4bc55247efab4d703
</script>
>>>>>>> f0751245c7fe0d7b25b59bf79787534b41c3a79c

	.popup_aa {
		width: 600px;
		height: 600px;
		background-color: rgba(0, 0, 0, 0.2);
		position: fixed;
		transform: translateZ(0);
		left: 0px;
		top: 0px;
>>>>>>> 448bb423f079741ff8d99392853160d72080f47c


	}
</style>
